﻿using MiniFox.Infrastructure.Attributes;
using MiniFox.Resources;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sys.Core.Models.VO
{
    [TreeNode("DeptID", "ParentDeptID", "Ordinal", "OrganizationID")]
    public class DeptVo
    {
        /// <summary>
        /// 部门ID
        /// </summary>
        [JsonProperty("deptId")]
        public string DeptID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("orgId")]
        public string OrganizationID { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        [JsonProperty("parentDeptId")]
        public string ParentDeptID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("deptName")]
        public string DeptName { get; set; }
        [JsonProperty("deptPath")]
        public string DeptPath { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("description")]
        public string Description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("director")]
        public string Director { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("ordinal")]
        public int? Ordinal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("enabled")]
        public bool Enabled { get; set; }
    }
}
